package com.whmskj.xjlhsc.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.whmskj.xjlhsc.entity.Gy01VarietiesMaintenanceTable;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import java.util.List;

/**
 * 品种维护表
 *
 */
@Mapper
public interface Gy01VarietiesMaintenanceTableMapper extends BaseMapper<Gy01VarietiesMaintenanceTable> {

    /**
     * 查询所有品种名称
     * @return 品种名称列表
     */
    @Select("SELECT nameOfSpecies FROM gy01VarietiesMaintenanceTable")
    List<String> selectAllNameOfSpecies();

}